Communications Method and Wearable Device, Communications System, and Related Device

ABSTRACT

In a communications method of a wearable device, if a second BLUETOOTH connection between user equipment and the wearable device is disconnected, a first BLUETOOTH connection between a network connection device and the wearable device is established, so that the network connection device may send, to the wearable device through the first BLUETOOTH connection, first information sent by the user equipment through a third communication connection to the network connection device. In this way, indirect communication between the user equipment and the wearable device is implemented by using the network connection device, so that the user equipment and the wearable device are not limited by a communication range.

CROSS-REFERENCE TO RELATED APPLICATIONS

This is a continuation of U.S. patent application Ser. No. 17/183,503filed on Feb. 24, 2021, which is a continuation of U.S. patentapplication Ser. No. 16/919,729 filed on Jul. 2, 2020, now U.S. Pat. No.10,959,280, which is a continuation of U.S. patent application Ser. No.16/377,846 filed on Apr. 8, 2019, now U.S. Pat. No. 10,764,954, which isa continuation of U.S. patent application Ser. No. 15/511,123 filed onMar. 14, 2017, now U.S. Pat. No. 10,285,214, which is a U.S. NationalStage of International Patent Application No. PCT/CN2014/086492 filed onSep. 15, 2014. All of the aforementioned patent applications are herebyincorporated by reference in their entireties.

TECHNICAL FIELD

The present disclosure relates to the field of communicationstechnologies, and in particular, to a communications method of awearable device, a communications system, and a related device.

BACKGROUND

A wearable device such as a smart watch or a band usually communicateswith a terminal device such as a mobile phone in a BLUETOOTHcommunication manner to implement functions such as event notificationor information synchronization. For example, when the mobile phone hasan incoming call, the smart watch may be notified in the BLUETOOTHcommunication manner, and then the smart watch has incoming callnotification. The wearable device brings convenience to a user, andtherefore is drawing attention from more equipment vendors.

At home, the wearable device and the terminal device may be placed atdifferent locations. For example, the mobile phone is in a bedroom whilethe band is worn by a user in a living room, in this case, the mobilephone is far away from the band, because a communication coverage areaof the BLUETOOTH is relatively small, the mobile phone cannotcommunicate with the band by using the BLUETOOTH such that communicationbetween the mobile phone and the wearable device cannot be maintained.

SUMMARY

Embodiments of the present disclosure provide a communications method ofa wearable device, a communications system, and a related device suchthat the terminal device may communicate with the wearable device byusing a gateway when communication between a terminal device and awearable device is disconnected.

A first aspect of the embodiments of the present disclosure provides acommunications method of a wearable device, including determining, by anetwork connection device in a network to which user equipment belongs,that a second BLUETOOTH connection between the user equipment and thewearable device is disconnected, and establishing a first BLUETOOTHconnection between the network connection device and the wearabledevice, receiving, by the network connection device, first informationthat is sent by the user equipment through a third communicationconnection to the network connection device, and sending, by the networkconnection device, the first information to the wearable device throughthe first BLUETOOTH connection.

In a first possible implementation manner of the first aspect of theembodiments of the present disclosure, before the receiving, by thenetwork connection device, first information that is sent by the userequipment through a third communication connection to the networkconnection device, the method further includes receiving, by the networkconnection device, first configuration information sent by the userequipment, where the first configuration information includes aBLUETOOTH address of the wearable device and a key, and storing, by thenetwork connection device, the first configuration information, wherethe first configuration information is used by the network connectiondevice to send the first information to the wearable device through thefirst BLUETOOTH connection, or, receiving, by the network connectiondevice, a procedure request message sent by the user equipment, wherethe procedure request message is used to request the network connectiondevice to enable a BLUETOOTH pairing procedure with the wearable device,and enabling the BLUETOOTH pairing procedure with the wearable deviceaccording to the procedure request message, or, receiving, by thenetwork connection device, a mode request message sent by the userequipment, where the mode request message is used to request the networkconnection device to enable a BLUETOOTH pairing mode, and enabling theBLUETOOTH pairing mode according to the mode request message to acceptBLUETOOTH pairing with the wearable device.

With reference to the first aspect of the embodiments of the presentdisclosure, or the first possible implementation manner of the firstaspect, in a second possible implementation manner of the first aspectof the embodiments of the present disclosure, before the receiving, bythe network connection device, first information that is sent by theuser equipment through a third communication connection to the networkconnection device, the method further includes receiving, by the networkconnection device, second configuration information sent by the userequipment, where the second configuration information includes BLUETOOTHservice information supported by the wearable device, and establishing amapping relationship between the BLUETOOTH service information andservice information supported by the third communication connection, andstoring the mapping relationship, where the sending, by the networkconnection device, the first information to the wearable device throughthe established first BLUETOOTH connection includes converting,according to the mapping relationship, first information sent by theuser equipment through the third communication connection to firstinformation sent through the first BLUETOOTH connection, and sending thefirst information to the wearable device through the first BLUETOOTHconnection.

With reference to any one of the first aspect of the embodiments of thepresent disclosure, or the first to the second possible implementationmanners of the first aspect, in a third possible implementation mannerof the first aspect of the embodiments of the present disclosure, beforethe determining, by a network connection device in a network to whichuser equipment belongs, that a second BLUETOOTH connection between theuser equipment and the wearable device is disconnected, the methodfurther includes receiving a triggering command sent by the userequipment, where the triggering command is used to instruct to establishthe first BLUETOOTH connection between the network connection device andthe wearable device, or finding, by the network connection device, aBLUETOOTH signal of the wearable device, or after the network connectiondevice finds the BLUETOOTH signal of the wearable device, sending anacknowledgment request message to the user equipment, where theacknowledgment request message is used to request the user equipment todetermine whether the first BLUETOOTH connection be established betweenthe network connection device and the wearable device, and receiving anacknowledgment message returned by the user equipment.

With reference to any one of the first aspect of the embodiments of thepresent disclosure, or the first to the third possible implementationmanners of the first aspect, in a fourth possible implementation mannerof the first aspect of the embodiments of the present disclosure, theestablishing the first BLUETOOTH connection between the networkconnection device and the wearable device includes establishing thefirst BLUETOOTH connection between the network connection device and thewearable device by using a bridge device that communicates with thenetwork connection device, and the sending the first information to thewearable device through the first BLUETOOTH connection includestransmitting, by the network connection device, the first information tothe bridge device, and sending, by the bridge device, the firstinformation to the wearable device through a BLUETOOTH connectionbetween the bridge device and the wearable device.

With reference to any one of the first aspect of the embodiments of thepresent disclosure, or the first to the fourth possible implementationmanners of the first aspect, in a fifth possible implementation mannerof the first aspect of the embodiments of the present disclosure, themethod further includes receiving, by the network connection device,second information sent by the wearable device through the firstBLUETOOTH connection, and sending, by the network connection device, thesecond information to the user equipment through the third communicationconnection.

With reference to any one of the first aspect of the embodiments of thepresent disclosure, or the first to the fifth possible implementationmanners of the first aspect, in a sixth possible implementation mannerof the first aspect of the embodiments of the present disclosure, themethod further includes receiving a first notification message sent bythe user equipment, where the first notification message is used toinstruct the network connection device to disconnect the first BLUETOOTHconnection between the network connection device the wearable device,and disconnecting the first BLUETOOTH connection between the networkconnection device and the wearable device, or disconnecting the thirdcommunication connection between the network connection device and theuser equipment, and disconnecting the first BLUETOOTH connection betweenthe network connection device and the wearable device.

A second aspect of the embodiments of the present disclosure provides acommunications method of a wearable device, including determining, byuser equipment, that a second BLUETOOTH connection between the userequipment and the wearable device is disconnected, and if a firstBLUETOOTH connection between a network connection device in a network towhich the user equipment belongs and the wearable device is established,sending, by the user equipment, first information to the networkconnection device through a third communication connection to thenetwork connection device such that the network connection device sendsthe first information to the wearable device through the first BLUETOOTHconnection.

In a first possible implementation manner of the second aspect of theembodiments of the present disclosure, the determining, by userequipment, that a second BLUETOOTH connection between the user equipmentand the wearable device is disconnected includes detecting, by the userequipment, that a second BLUETOOTH connection between the user equipmentand the wearable device is disconnected, or when the user equipmentdetermines that the third communication connection to the networkconnection device is established, disconnecting the second BLUETOOTHconnection to the wearable device.

With reference to the second aspect of the embodiments of the presentdisclosure, or the first possible implementation manner of the secondaspect, in a second possible implementation manner of the second aspectof the embodiments of the present disclosure, before the sending, by theuser equipment, first information to the network connection devicethrough a third communication connection to the network connectiondevice, the method further includes sending, by the user equipment,first configuration information to the network connection device, wherethe first configuration information includes a BLUETOOTH address of thewearable device and a key, and sending, by the user equipment, thirdconfiguration information to the wearable device, where the thirdconfiguration information includes a BLUETOOTH address of the networkconnection device and a key, or, sending, by the user equipment, a moderequest message to the wearable device, where the mode request messageis used to request the wearable device to enable a BLUETOOTH pairingmode, and sending, by the user equipment, a procedure request message tothe network connection device, where the procedure request message isused to request the network connection device to enable a BLUETOOTHpairing procedure with the wearable device, or sending, by the userequipment, a mode request message to the network connection device,where the mode request message is used to request the network connectiondevice to enable a BLUETOOTH pairing mode, and sending, by the userequipment, a procedure request message to the wearable device, where theprocedure request message is used to request the wearable device toenable a BLUETOOTH pairing procedure with the network connection device.

With reference to any one of the second aspect of the embodiments of thepresent disclosure, or the first to the second possible implementationmanners of the second aspect, in a third possible implementation mannerof the second aspect of the embodiments of the present disclosure, afterthe determining, by user equipment, that a second BLUETOOTH connectionbetween the user equipment and the wearable device is disconnected, themethod further includes sending, by the user equipment, a triggeringcommand to the network connection device, where the triggering commandis used to instruct to establish the first BLUETOOTH connection betweenthe network connection device and the wearable device, and/or receiving,by the user equipment, an announcement message sent by the networkconnection device, where the announcement message is used to notify theuser equipment that the first BLUETOOTH connection between the networkconnection device and the wearable device is established.

With reference to any one of the second aspect of the embodiments of thepresent disclosure, or the first to the third possible implementationmanners of the second aspect, in a fourth possible implementation mannerof the second aspect of the embodiments of the present disclosure, themethod further includes finding, by the user equipment, a BLUETOOTHsignal of the wearable device, establishing the second BLUETOOTHconnection to the wearable device, and sending, by the user equipment,first information to the wearable device through the second BLUETOOTHconnection, or after the third communication connection between the userequipment and the network connection device is disconnected, finding, bythe user equipment, a BLUETOOTH signal of the wearable device,establishing the second BLUETOOTH connection to the wearable device, andsending, by the user equipment, first information to the wearable devicethrough the second BLUETOOTH connection, or after the user equipmentreceives second notification message sent by the network connectiondevice, where the second notification message is used to notify the userequipment that the first BLUETOOTH connection between the networkconnection device and the wearable device is disconnected, finding, bythe user equipment, a BLUETOOTH signal of the wearable device,establishing the second BLUETOOTH connection to the wearable device, andsending, by the user equipment, first information to the wearable devicethrough the second BLUETOOTH connection, or when the user equipmentfinds a BLUETOOTH signal of the wearable device, and when the userequipment does not perform information interaction with the wearabledevice by using the network connection device in a preset time, sending,to the network connection device by the user equipment, a request fordisconnecting the first BLUETOOTH connection, establishing the secondBLUETOOTH connection to the wearable device, and sending, by the userequipment, first information to the wearable device through the secondBLUETOOTH connection.

With reference to any one of the second aspect of the embodiments of thepresent disclosure, or the first to the fourth possible implementationmanners of the second aspect, in a fifth possible implementation mannerof the second aspect of the embodiments of the present disclosure, thesending, by the user equipment, first information to the networkconnection device through a third communication connection to thenetwork connection device includes sending, by the user equipment, thefirst information to the network connection device by using the InternetProtocol (IP), or sending, by the user equipment, the first informationto the network connection device by using the Universal Plug and Play(UPnP) protocol, or sending, by the user equipment, the firstinformation to the network connection device by using the Wi-Fiprotocol.

A third aspect of the embodiments of the present disclosure provides anetwork connection device, including a communication establishment unitconfigured to determine that a second BLUETOOTH connection between userequipment and a wearable device is disconnected, and establish a firstBLUETOOTH connection to the wearable device, an information receivingunit configured to receive first information that is sent by the userequipment through a third communication connection to the networkconnection device, and a sending unit configured to send the firstinformation to the wearable device through the first BLUETOOTHconnection established by the communication establishment unit.

In a first possible implementation manner of the third aspect of theembodiments of the present disclosure, the network connection devicefurther includes a first configuration unit configured to receive firstconfiguration information sent by the user equipment, where the firstconfiguration information includes a BLUETOOTH address of the wearabledevice and a key, and store the first configuration information, wherethe first configuration information is used by the sending unit to sendthe first information to the wearable device through the first BLUETOOTHconnection, or the first configuration unit configured to receive aprocedure request message sent by the user equipment, where theprocedure request message is used to request the network connectiondevice to enable a BLUETOOTH pairing procedure with the wearable device,and enable the BLUETOOTH pairing procedure with the wearable deviceaccording to the procedure request message, or the first configurationunit configured to receive a mode request message sent by the userequipment, where the mode request message is used to request the networkconnection device to enable a BLUETOOTH pairing mode, and enable theBLUETOOTH pairing mode according to the mode request message to acceptBLUETOOTH pairing with the wearable device.

With reference to the third aspect of the embodiments of the presentdisclosure, or the first possible implementation manner of the thirdaspect, in a second possible implementation manner of the third aspectof the embodiments of the present disclosure, the network connectiondevice further includes a second configuration unit configured toreceive second configuration information sent by the user equipment,where the second configuration information includes BLUETOOTH serviceinformation supported by the wearable device, and establish a mappingrelationship between the BLUETOOTH service information and serviceinformation supported by the third communication connection, and storethe mapping relationship, where the sending unit is configured toconvert, according to the mapping relationship stored by the secondconfiguration unit, first information sent by the user equipment throughthe third communication connection to first information sent through thefirst BLUETOOTH connection, and send the first information to thewearable device through the first BLUETOOTH connection.

With reference to any one of the third aspect of the embodiments of thepresent disclosure, or the first to the second possible implementationmanners of the third aspect, in a third possible implementation mannerof the third aspect of the embodiments of the present disclosure thecommunication establishment unit is configured to, after a triggeringcommand sent by the user equipment is received, where the triggeringcommand is used to instruct to establish the first BLUETOOTH connectionbetween the network connection device and the wearable device, determinethat second BLUETOOTH connection between the user equipment and thewearable device is disconnected, or after a BLUETOOTH signal of thewearable device is found, determine that the second BLUETOOTH connectionbetween the user equipment and the wearable device is disconnected, orafter a BLUETOOTH signal of the wearable device is found, send anacknowledgment request message to the user equipment, where theacknowledgment request message is used to request the user equipment todetermine whether the first BLUETOOTH connection be established betweenthe network connection device and the wearable device, and after anacknowledgment message returned by the user equipment is received,determine that the second BLUETOOTH connection between the userequipment and the wearable device is disconnected.

With reference to any one of the third aspect of the embodiments of thepresent disclosure, or the first to the third possible implementationmanners of the third aspect, in a fourth possible implementation mannerof the third aspect of the embodiments of the present disclosure thecommunication establishment unit is configured to establish the firstBLUETOOTH connection to the wearable device by using a bridge devicethat communicates with the network connection device, and the sendingunit is configured to transmit the first information to the bridgedevice, and the bridge device sends the first information to thewearable device through a BLUETOOTH connection between the bridge deviceand the wearable device.

With reference to any one of the third aspect of the embodiments of thepresent disclosure, or the first to the fourth possible implementationmanners of the third aspect, in a fifth possible implementation mannerof the third aspect of the embodiments of the present disclosure theinformation receiving unit is further configured to receive secondinformation sent by the wearable device through the first BLUETOOTHconnection, and the sending unit is further configured to send thesecond information to the user equipment through the third communicationconnection.

With reference to any one of the third aspect of the embodiments of thepresent disclosure, or the first to the fifth possible implementationmanners of the third aspect, in a sixth possible implementation mannerof the third aspect of the embodiments of the present disclosure, thenetwork connection device further includes a disconnecting unitconfigured to receive a first notification message sent by the userequipment, where the first notification message is used to instruct thenetwork connection device to disconnect the first BLUETOOTH connectionbetween the network connection device the wearable device, anddisconnect the first BLUETOOTH connection between the network connectiondevice the wearable device, or disconnect the third communicationconnection between the network connection device and the user equipment,and disconnect the first BLUETOOTH connection between the networkconnection device the wearable device.

A fourth aspect of the embodiments of the present disclosure providesuser equipment, including a communication determining unit configured todetermine that a second BLUETOOTH connection between the user equipmentand a wearable device is disconnected, and an information sending unit,configured to, if a first BLUETOOTH connection between a networkconnection device in a network to which the user equipment belongs andthe wearable device is established, send first information to thenetwork connection device through a third communication connection tothe network connection device such that the network connection devicesends the first information to the wearable device through the firstBLUETOOTH connection.

In a first possible implementation manner of the fourth aspect of theembodiments of the present disclosure, the user equipment furtherincludes a configuration sending unit configured to send firstconfiguration information to the network connection device, where thefirst configuration information includes a BLUETOOTH address of thewearable device and a key, and the configuration sending unit is furtherconfigured to send third configuration information to the wearabledevice, where the third configuration information includes a BLUETOOTHaddress of the network connection device and a key, or, theconfiguration sending unit configured to send a mode request message tothe wearable device, where the mode request message is used to requestthe wearable device to enable a BLUETOOTH pairing mode, and send aprocedure request message to the network connection device, where theprocedure request message is used to request the network connectiondevice to enable a BLUETOOTH pairing procedure with the wearable device,or, the configuration sending unit configured to send a mode requestmessage to the network connection device, where the mode request messageis used to request the network connection device to enable a BLUETOOTHpairing mode, and send a procedure request message to the wearabledevice, where the procedure request message is used to request thewearable device to enable a BLUETOOTH pairing procedure with the networkconnection device.

With reference to the fourth aspect of the embodiments of the presentdisclosure, or the first possible implementation manner of the fourthaspect, in a second possible implementation manner of the fourth aspectof the embodiments of the present disclosure, the user equipment furtherincludes a triggering unit configured to send a triggering command tothe network connection device, where the triggering command is used toinstruct to establish the first BLUETOOTH connection between the networkconnection device and the wearable device, and/or the triggering unitconfigured to receive an announcement message sent by the networkconnection device, where the announcement message is used to notify theuser equipment that the first BLUETOOTH connection between the networkconnection device and the wearable device is established.

With reference to any one of the fourth aspect of the embodiments of thepresent disclosure, or the first to the second possible implementationmanners of the fourth aspect, in a third possible implementation mannerof the fourth aspect of the embodiments of the present disclosure, theuser equipment further includes a communication establishment unitconfigured to find a BLUETOOTH signal of the wearable device andestablish a second BLUETOOTH connection to the wearable device, or afterthe third communication connection between the user equipment and thenetwork connection device is disconnected, find a BLUETOOTH signal ofthe wearable device and establish a second BLUETOOTH connection to thewearable device, or after a second notification message sent by thenetwork connection device is received, where the second notificationmessage is used to notify the user equipment that the first BLUETOOTHconnection between the network connection device and the wearable deviceis disconnected, find a BLUETOOTH signal of the wearable device andestablish a second BLUETOOTH connection to the wearable device, or whena BLUETOOTH signal of the wearable device is found, and when the userequipment does not perform information interaction with the wearabledevice by using the network connection device in a preset time, send, tothe network connection device, a request for disconnecting the firstBLUETOOTH connection, and establish the second BLUETOOTH connectionbetween the user equipment and the wearable device, where theinformation sending unit is further configured to send the firstinformation to the wearable device through the second BLUETOOTHconnection.

A fifth aspect of the embodiments of the present disclosure provides acommunications system, including a network connection device, userequipment, and a wearable device, where the network connection device isthe network connection device according to any one of the third aspectof the embodiments of the present disclosure, the first to the third, orthe fifth and the sixth possible implementation manners of the thirdaspect, and the user equipment is the user equipment according to anyone of the fourth aspect of the embodiments of the present disclosure,or the first to the third possible implementation manners of the fourthaspect, and the wearable device is configured to after a first BLUETOOTHconnection to the network connection device is established, receivefirst information sent by the network connection device.

A sixth aspect of the embodiments of the present disclosure provides acommunications system, including a network connection device, at leastone bridge device, user equipment, and a wearable device, where the atleast one bridge device is separately connected to the networkconnection device by using an electrical power cable, where the networkconnection device is the network connection device according to any oneof the third aspect of the embodiments of the present disclosure, or thefirst to the sixth possible implementation manners of the third aspect,and the user equipment is the user equipment according to any one of thefourth aspect of the embodiments of the present disclosure, or the firstto the third possible implementation manners of the fourth aspect, andthe wearable device is configured to, after a first BLUETOOTH connectionis performed by using the bridge device connected to the networkconnection device, receive first information that is forwarded by thebridge device and that is sent by the network connection device throughthe first BLUETOOTH connection.

In the method of this embodiment, if a second BLUETOOTH connectionbetween user equipment and a wearable device is disconnected, a firstBLUETOOTH connection between a network connection device and thewearable device is established such that the network connection devicemay send, to the wearable device through the foregoing first BLUETOOTHconnection, first information sent by the user equipment through a thirdcommunication connection to the network connection device. In this way,indirect communication between the user equipment and the wearabledevice is implemented by using the network connection device such thatthe user equipment and the wearable device are not limited by acommunication range.

BRIEF DESCRIPTION OF DRAWINGS

To describe the technical solutions in the embodiments of the presentdisclosure or in other approaches more clearly, the following brieflydescribes the accompanying drawings required for describing theembodiments or the other approaches. Apparently, the accompanyingdrawings in the following description show merely some embodiments ofthe present disclosure, and a person of ordinary skill in the art maystill derive other drawings from these accompanying drawings withoutcreative efforts.

FIG. 1A is a schematic structural diagram of a communications systemapplied to a communications method of a wearable device according to anembodiment of the present disclosure.

FIG. 1B is a schematic structural diagram of another communicationssystem applied to a communications method of a wearable device accordingto an embodiment of the present disclosure.

FIG. 2 is a flowchart of a communications method of a wearable deviceaccording to an embodiment of the present disclosure.

FIG. 3 is a flowchart of another communications method of a wearabledevice according to an embodiment of the present disclosure.

FIG. 4 is a flowchart of another communications method of a wearabledevice according to an embodiment of the present disclosure.

FIG. 5A is a flowchart of a method used by user equipment to configureeach device in a communications system according to an embodiment of thepresent disclosure.

FIG. 5B is a flowchart of a method of indirect communication betweenuser equipment and a wearable device according to an embodiment of thepresent disclosure.

FIG. 6 is a schematic structural diagram of a network connection deviceaccording to an embodiment of the present disclosure.

FIG. 7 is a schematic structural diagram of another network connectiondevice according to an embodiment of the present disclosure.

FIG. 8 is a schematic structural diagram of user equipment according toan embodiment of the present disclosure.

FIG. 9 is a schematic structural diagram of another network connectiondevice according to an embodiment of the present disclosure.

DESCRIPTION OF EMBODIMENTS

The following clearly and completely describes the technical solutionsin the embodiments of the present disclosure with reference to theaccompanying drawings in the embodiments of the present disclosure. Thedescribed embodiments are merely some but not all of the embodiments ofthe present disclosure. All other embodiments obtained by a person ofordinary skill in the art based on the embodiments of the presentdisclosure without creative efforts shall fall within the protectionscope of the present disclosure.

In the specification, claims, and accompanying drawings of the presentdisclosure, the terms “first”, “second”, “third”, “fourth”, and so on(if existent) are intended to distinguish between similar objects but donot necessarily indicate a specific order or sequence. It should beunderstood that the data termed in such a way are interchangeable inproper circumstances so that the embodiments of the present disclosuredescribed herein can be implemented in orders except the orderillustrated or described herein. In addition, the terms “include”,“contain” and any other variants mean to cover the non-exclusiveinclusion, for example, a process, method, system, product, or devicethat includes a list of steps or units is not necessarily limited tothose units, but may include other units not expressly listed orinherent to such a process, method, system, product, or device.

An embodiment of the present disclosure provides a communications methodof a wearable device that may be mainly applied to data communicationssystems shown in FIG. 1A and FIG. 1B. The communications system shown inFIG. 1A includes user equipment, a wearable device, and a networkconnection device. The user equipment may be a device that can access anetwork by using a network connection device, such as a mobile phone, aPad, or a personal computer. The wearable device may be a device thatcan be used by pairing with the user equipment (for example, thewearable devices in FIGS. 1A-1B), such as a smart band or a smart watch.The network connection device may be a device that has a networkconnection function, such as a home Wi-Fi router and a gateway. In anembodiment of the present disclosure, the network connection device mayrequire a BLUETOOTH function.

Generally, a communication connection between the user equipment and thewearable device may be directly established, for example, a BLUETOOTHcommunication connection. The user equipment may send a message to thewearable device for execution. For example, when the user equipment hasan incoming call, the user equipment may send a message to the wearabledevice, and the wearable device displays the incoming call of the userequipment.

In this embodiment, however, when the communication connection betweenthe user equipment and the wearable device is disconnected because ofreasons such as a distance, an indirect communication connection betweenthe user equipment and the wearable device may be implemented by usingthe network connection device. A communication connection that is of aprotocol and that is between the network connection device and the userequipment is established, for example, a communication connection of theUPnP protocol or a communication connection of the Wi-Fi protocol. Acommunication connection that is of a BLUETOOTH protocol is establishedbetween the network connection device and the wearable device. A messagesent by the user equipment to the wearable device may be indirectlytransmitted to the wearable device by using the network connectiondevice.

The communications system shown in FIG. 1B includes the user equipment,the network connection device, the wearable device, and at least onebridge device. For a connection between the user equipment and thenetwork connection device, refer to the connection between the userequipment and the network connection device in FIG. 1A. Each bridgedevice may be connected to the network connection device by using anelectrical power cable, the communication connection that is of theBLUETOOTH protocol may be established between the network connectiondevice and the wearable device by using any one of the bridge devicessuch that the network connection device may encapsulate the informationsent by the user equipment into a BLUETOOTH packet, and transmit theBLUETOOTH packet to the bridge device by using an electrical power cableprotocol, and then the bridge device transmits the BLUETOOTH packet tothe wearable device.

Main functions of the bridge device are to ensure a coverage area ofcommunication between the network connection device and the wearabledevice and to ensure that a message sent by the network connectiondevice may arrive to the wearable device.

The communications method of a wearable device in this embodiment of thepresent disclosure is performed by the network connection device in thesystem shown in FIG. 1A or FIG. 1B. A flowchart is shown in FIG. 2 ,including the following steps.

Step 101: Determine that a second BLUETOOTH connection between the userequipment and the wearable device is disconnected, and establish a firstBLUETOOTH connection between the network connection device in a networkto which the user equipment belongs and the wearable device.

Generally, the second BLUETOOTH connection between the user equipmentand the wearable device is established, and the user equipment maydirectly communicate with the wearable device. If the second BLUETOOTHconnection is disconnected, in this embodiment, to implement that theuser equipment indirectly communicates with the wearable device by usingthe network connection device, the network connection device separatelyestablishes a communication connection to the wearable device and acommunication connection to the user equipment. For a communicationconnection between the network connection device and the user equipment,if the user equipment accesses the network by using the networkconnection device, the communication connection between the networkconnection device and the user equipment is established. For acommunication connection between the network connection device and thewearable device, establishing the first BLUETOOTH connection between thenetwork connection device and the wearable device may be triggered inthe following cases:

(1) When the user equipment finds that the second BLUETOOTH connectionto the wearable device is disconnected, or when the user equipment findsthat a third communication connection to the network connection deviceis established, the user equipment may directly send a triggeringcommand to the user network connection device, where the triggeringcommand is used to instruct to establish the first BLUETOOTH connectionbetween the network connection device and the wearable device. Whenreceiving the triggering command sent by the user equipment, the networkconnection device may determine that the second BLUETOOTH connectionbetween the user equipment and the wearable device is disconnected, andactively establish the first BLUETOOTH connection to the wearabledevice. After receiving the triggering command, the network connectiondevice sends a BLUETOOTH paging message. When finding that the secondBLUETOOTH connection to the user equipment is disconnected, the wearabledevice determines whether the BLUETOOTH paging message sent by thenetwork connection device can be received. In an embodiment, if thesecond BLUETOOTH connection between the wearable device and the userequipment is not disconnected, the wearable device still detects in realtime whether the BLUETOOTH paging message sent by the network connectiondevice is received, if the BLUETOOTH paging message is received, aBLUETOOTH paging response is sent to the network connection device, ifthe network connection device receives the BLUETOOTH paging responsesent by the wearable device, the first BLUETOOTH connection to thewearable device is established.

(2) After finding a BLUETOOTH signal of the wearable device, the networkconnection device determines that the second BLUETOOTH connectionbetween the user equipment and the wearable device is disconnected. Thenetwork connection device may periodically send the BLUETOOTH pagingmessage. When finding that the second BLUETOOTH connection to the userequipment is disconnected, the wearable device determines whether theBLUETOOTH paging message sent by the network connection device can bereceived. In an embodiment, if the second BLUETOOTH connection betweenthe wearable device and the user equipment is not disconnected, thewearable device still detects in real time whether the BLUETOOTH pagingmessage is received, if the BLUETOOTH paging message is received, theBLUETOOTH paging response is sent to the network connection device, ifthe network connection device receives the BLUETOOTH paging responsesent by the wearable device, the first BLUETOOTH connection to thewearable device is established.

(3) After finding a BLUETOOTH signal of the wearable device, the networkconnection device sends an acknowledgment request message to the userequipment, where the acknowledgment request message is used to requestthe user equipment to determine whether the first BLUETOOTH connectionbe established between the network connection device and the wearabledevice. If an acknowledgment message returned by the user equipment isreceived, the network connection device determines that the secondBLUETOOTH connection between the user equipment and the wearable deviceis disconnected, and then establishes the first BLUETOOTH connection tothe wearable device, if an unacknowledgment message returned by the userequipment is received, the first BLUETOOTH connection may be notestablished.

It should be noted that, in the second case, after the networkconnection device finds the BLUETOOTH signal of the wearable device anddetermine the second BLUETOOTH connection, the first BLUETOOTHconnection is established, or after the network connection device findsthe BLUETOOTH signal of the wearable device, the first BLUETOOTHconnection is first established, and then the user equipment disconnectsthe second BLUETOOTH connection to determine that the second BLUETOOTHconnection is disconnected.

It should be noted that, in the two cases of the communications systemsshown in FIG. 1A and FIG. 1B, the established first BLUETOOTHconnections between the network connection device and the wearabledevice are different. In the system shown in FIG. 1A, a direct firstBLUETOOTH connection between the network connection device and thewearable device is established, however, in the system shown in FIG. 1B,an indirect first BLUETOOTH connection between the network connectiondevice and the wearable device is established by using a bridge devicethat communicates with the network connection device.

It should be further noted that, optionally, after the first BLUETOOTHconnection between the network connection device and the wearable deviceis established, the network connection device may further send anannouncement message to the user equipment, where the announcementmessage is used to notify the user equipment that the first BLUETOOTHconnection between the network connection device and the wearable deviceis established such that the user equipment may send first informationto the wearable device by using the network connection device.

Step 102: The network connection device receives first information thatis sent by the user equipment through a third communication connectionto the network connection device, where the first information is sent tothe network connection device by the user equipment through the thirdcommunication connection when the second BLUETOOTH connection betweenthe user equipment and the wearable device is disconnected.

Step 103: The network connection device sends the first information tothe wearable device through the first BLUETOOTH connection establishedin step 101.

After the first BLUETOOTH connection between the network connectiondevice and the wearable device is established, the user equipment mayfirst send, to the network connection device, the first information tobe sent to the wearable device, and then the network connection devicesends the first information to the wearable device. The firstinformation may be content, an instruction, data, and the like that issent by the user equipment to the wearable device. A format of the firstinformation sent by the user equipment to the network connection devicemay be the same as or different from a format of the first informationsent by the network connection device to the wearable device. When theuser equipment sends the first information to the network connectiondevice, a communications protocol format supported by the thirdcommunication connection may be used, and when the network connectiondevice sends the first information to the wearable device, a BLUETOOTHprotocol format is mainly used. Therefore, in a specific operation, thenetwork connection device may convert first information in thecommunications protocol format supported by the third communicationconnection to first information in the BLUETOOTH protocol format.

In an embodiment, the third communication connection between the networkconnection device and the user equipment may be a communicationconnection that supports the IP such that the network connection devicemay receive the first information sent by the user equipment by usingthe IP. In an embodiment, the network connection device may receive thefirst information that is in the BLUETOOTH protocol format and that iscarried in a payload of an IP packet, and send the first information tothe wearable device through the first BLUETOOTH connection, or thenetwork connection device may receive first information that is in anupper-layer protocol format and that is carried in an IP packet, andsend the first information to the wearable device through the firstBLUETOOTH connection. Upper-layer protocols include but are not limitedto the UPnP protocol, the Digital Living Network Alliance (DLNA)protocol, the Intelligent Grouping and Resource Sharing protocol (IGRS),which is also referred to as the IGRS protocol, the Hypertext TransferProtocol (HTTP), the Transmission Control Protocol (TCP), and the UserDatagram Protocol (UDP). The network connection device converts thefirst information in the upper-layer protocol format to the firstinformation in the BLUETOOTH protocol format.

The third communication connection may further be a communicationconnection that supports the UPnP protocol. The network connectiondevice may receive first information that is in the UPnP protocol formatand that is sent by the user equipment, or convert first information inthe UPnP protocol format to first information in the BLUETOOTH protocolformat, and then send the first information to the wearable devicethrough the first BLUETOOTH connection.

The third communication connection may further be a connection thatsupports the Wi-Fi protocol. The network connection device may receivethe first information that is in the BLUETOOTH protocol format and thatis in a payload of a Media Access Control address (MAC) frame of theWi-Fi protocol, and send the first information to the wearable devicethrough the first BLUETOOTH connection, or the network connection devicemay receive the first information that is in an upper-layer protocolformat and that is sent by the user equipment by using the Wi-Fi, andconvert first information in the upper-layer protocol format to firstinformation in the BLUETOOTH protocol format, and send the firstinformation to the wearable device through the first BLUETOOTHconnection. Upper-layer protocols include but are not limited to theUPnP protocol, the DLNA protocol, the IGRS, the HTTP, the TCP, the UDP,and the IP.

It should be further noted that, when the network connection devicesends the first information through the first BLUETOOTH connection, forthe system shown in FIG. 1A, the network connection device may directlysend the first information to the wearable device, for the system shownin FIG. 1B, the communication connection of the BLUETOOTH protocol maybe established between the network connection device and the wearabledevice by using any one of the bridge devices such that the networkconnection device may encapsulate the first information sent by the userequipment into the BLUETOOTH packet, and transmit the BLUETOOTH packetto the bridge device by using the electrical power cable protocol, andthen the bridge device sends the BLUETOOTH packet to the wearable devicein a communication range of the bridge device.

Further, for second information actively sent by the wearable device tothe user equipment, the network connection device receives the secondinformation that is sent by the wearable device through the firstBLUETOOTH connection, where the second information may be a notificationor data that is sent by the wearable device to the user equipment,information that is reported by the wearable device to the userequipment, or the like. The network connection device may send thesecond information to the user equipment through the third communicationconnection to the user equipment. A format of the second informationsent by the wearable device to the network connection device may be thesame as or different from a format of the second information sent by thenetwork connection device to the user equipment.

It can be learned that in the method of this embodiment, if a secondBLUETOOTH connection between user equipment and a wearable device isdisconnected, a first BLUETOOTH connection is established between anetwork connection device and the wearable device, and the networkconnection device may send, to the wearable device through the firstBLUETOOTH connection, first information sent by the user equipment. Inthis way, indirect communication between the user equipment and thewearable device is implemented by using the network connection devicesuch that the user equipment and the wearable device are not limited bya communication range.

It should be noted that, in the communications method in steps 101 to103, the user equipment indirectly communicates with the wearable deviceby using the network connection device in the network to which the userequipment belongs. In one case, under any one of following conditions,the first BLUETOOTH connection between the network connection device andthe wearable device is disconnected, and the user equipment directlycommunicates with the wearable device

The network connection device receives a first notification message sentby the user equipment, where the first notification message is used toinstruct the network connection device to disconnect the first BLUETOOTHconnection between the network connection device the wearable device,and the third communication connection between the network connectiondevice and the user equipment is disconnected.

It should be further noted that, the communications method in steps 101to 103 indicates communication that is performed after each device inthe system shown in FIG. 1A or FIG. 1B is configured. Therefore, beforestep 101, the user equipment further configures the network connectiondevice. In an embodiment, before step 101, the network connection devicemay further perform a configuration step in any one of the followingmanners. A flowchart is shown in FIG. 3 , including the following steps.

(1) The user equipment directly performs configuration.

Step 104: The network connection device receives a first configurationinformation sent by the user equipment, where the first configurationinformation includes a BLUETOOTH address of the wearable device and akey for communication between the network connection device and thewearable device, and may further include information such as a pairingrelationship between the user equipment and the wearable device. Thenetwork connection device stores the first configuration information,where the first configuration information is used by the networkconnection device to send the first information to the wearable devicethrough the first BLUETOOTH connection. Optionally, if the firstconfiguration information includes no pairing relationship between theuser equipment and the wearable device, the network connection devicemay generate the pairing relationship between the user equipment and thewearable device according to the first configuration information.Therefore, when information is transmitted between the networkconnection device and the wearable device, the network connection devicemay establish the first BLUETOOTH connection according to the firstconfiguration information and transmit the information through the firstBLUETOOTH connection.

Further, the network connection device may further receive secondconfiguration information sent by the user equipment, and the secondconfiguration information includes BLUETOOTH service informationsupported by the wearable device, such as characteristic information ofthe BLUETOOTH protocol or a command of the BLUETOOTH protocol.Therefore, the network connection device may establish a mappingrelationship between the BLUETOOTH service information and the serviceinformation supported by the third communication connection, and storethe mapping relationship. When sending the first information to thewearable device, the network connection device may convert, according tothe mapping relationship, the first information sent through the thirdcommunication connection to the first information sent through the firstBLUETOOTH connection, and send the first information to the wearabledevice through the first BLUETOOTH connection.

When establishing the mapping relationship, the network connectiondevice mainly establishes a correspondence between each piece ofinformation in the BLUETOOTH service information and each piece ofinformation in the service supported by the third communicationconnection, for example, establishes a correspondence between a commandor a message in the BLUETOOTH protocol and a command or a message of theprotocol supported by the third communication connection.

(2) The user equipment indirectly configures that the network connectiondevice actively performs a BLUETOOTH pairing with the wearable device.

Step 105: The network connection device receives a procedure requestmessage sent by the user equipment, where the procedure request messageis used to request the network connection device to enable a BLUETOOTHpairing procedure with the wearable device, and the network connectiondevice enables the BLUETOOTH pairing procedure with the wearable deviceaccording to the procedure request message. That is, the networkconnection device actively sends a BLUETOOTH pairing request to thewearable device. When the pairing succeeds, the network connectiondevice may store information about the wearable device, includinginformation such as the BLUETOOTH address and the key. Further, thenetwork connection device generates the pairing relationship between theuser equipment and the wearable device.

(3) The user equipment indirectly configures that the network connectiondevice passively accepts the pairing with the wearable device.

Step 106: The network connection device receives a mode request messagesent by the user equipment, where the mode request message is used torequest the network connection device to enable a BLUETOOTH pairingmode, and the network connection device enables the BLUETOOTH pairingmode according to the mode request message to passively accept BLUETOOTHpairing with the wearable device. That is, the network connection deviceis set to a state of being searchable by another BLUETOOTH device withina period of time, and can accept a pairing request. When the pairingsucceeds, the network connection device may store the information aboutthe wearable device, including information such as the BLUETOOTH addressand the key. Further, the network connection device generates thepairing relationship between the user equipment and the wearable device.

A function of the pairing relationship between the user equipment andthe wearable device includes the user equipment first sends, to thenetwork connection device, the first information that is sent to thewearable device, and the network connection device sends the firstinformation to the corresponding wearable device according to thepairing relationship.

An embodiment of the present disclosure further provides anothercommunications method of a wearable device that may be applied to thecommunications system shown in FIG. 1A or FIG. 1B. The method of thisembodiment is a method performed by user equipment in the system. Aflowchart is shown in FIG. 4 , including the following steps.

Step 201: The user equipment determines that a second BLUETOOTHconnection between the user equipment and the wearable device isdisconnected. Generally, a communication connection between the userequipment and the wearable device is a BLUETOOTH communicationconnection. When the user equipment detects no BLUETOOTH signal of thewearable device, or strength of a detected BLUETOOTH signal of thewearable device is less than a threshold, it is determined that thesecond BLUETOOTH connection between the user equipment and the wearabledevice is disconnected. In an embodiment, in another case, whendetermining a third communication connection to a network connectiondevice in a network to which the user equipment belongs is established,the user equipment may actively disconnect the second BLUETOOTHconnection to the wearable device. Therefore, when the thirdcommunication connection is established between the user equipment andthe network connection device, the second BLUETOOTH connection to thewearable device is disconnected.

It should be understood that, after the user equipment finds that thesecond BLUETOOTH connection to the wearable device is disconnected, if afirst BLUETOOTH connection between the network connection device and thewearable device is established, the user equipment may perform step 202.

The user equipment may actively trigger the network connection device toestablish the first BLUETOOTH connection to the wearable device. In anembodiment, the user equipment may send a triggering command to thenetwork connection device, where the triggering command is used toinstruct to establish the first BLUETOOTH connection between the networkconnection device and the wearable device such that the user equipmentmay indirectly communicate with the wearable device by using the networkconnection device. Therefore, the user equipment considers that thefirst BLUETOOTH connection between the network connection device and thewearable device is established, and performs a subsequent step 202. Inanother case, establishing the first BLUETOOTH connection between thenetwork connection device and the wearable device is triggered by thewearable device. After establishing the first BLUETOOTH connection tothe wearable device, the network connection device may send anannouncement message to the user equipment, where the announcementmessage is used to notify the user equipment that the first BLUETOOTHconnection between the network connection device and the wearable deviceis established such that the user equipment may perform the subsequentstep 202 according to the announcement message. When the user equipmentactively triggers the network connection device to establish the firstBLUETOOTH connection to the wearable device, after the user equipmentsends the triggering command, the user equipment further receive theannouncement message returned by the network connection device, and thenthe user equipment may perform the subsequent step 202.

Step 202: When the user equipment includes information that to be sentto the wearable device, the user equipment sends first information tothe network connection device through the third communication connectionto the network connection device to which the user equipment belongssuch that the network connection device may send the first informationto the wearable device through the first BLUETOOTH connection.

In an embodiment, the third communication connection between the networkconnection device and the user equipment may support a connection of theIP such that the user equipment may send the first information to thenetwork connection device by using the IP. In an embodiment, the firstinformation in a BLUETOOTH protocol format is carried in a payload of anIP packet and sent to the network connection device, or the userequipment sends the first information in an upper-layer protocol formatto the network connection device by using an IP packet, and upper-layerprotocols include but are not limited to the UPnP protocol, the DLNAprotocol, the IGRS, the HTTP, and the TCP.

The third communication connection may further be a connection thatsupports the UPnP protocol, and the user equipment sends the firstinformation to the network connection device by using the UPnP protocol.In an embodiment, the first information in the UPnP protocol format issent to the network connection device. The third communicationconnection may be a connection that supports the Wi-Fi protocol, and theuser equipment sends the first information to the network connectiondevice by using the Wi-Fi protocol. In an embodiment, the firstinformation in the BLUETOOTH protocol format is carried in a payload ofa MAC frame of the Wi-Fi protocol and sent to the network connectiondevice, or the first information in an upper-layer protocol format issent to the network connection device by using the Wi-Fi, andupper-layer protocols include but are not limited to the UPnP protocol,the DLNA protocol, the IGRS, the HTTP, the TCP, the UDP, and the IP.

The first information sent by the user equipment may be content, aninstruction, data, and the like that is sent by the user equipment tothe wearable device, and a format of the first information sent by theuser equipment to the network connection device may be the same as ordifferent from a format of the first information sent by the networkconnection device to the wearable device. When the user equipment sendsthe first information to the network connection device, a communicationsprotocol format supported by the third communication connection may beused, and when the network connection device sends the first informationto the wearable device, a BLUETOOTH protocol format is mainly used.Therefore, in a specific operation, the network connection device mayconvert first information in the communications protocol formatsupported by the third communication connection to first information inthe BLUETOOTH protocol format. For a method performed by the networkconnection device, refer to the foregoing descriptions in thisembodiment.

Further, the user equipment may receive, by using the network connectiondevice, second information sent by the wearable device. The networkconnection device receives the second information that is sent by thewearable device through the first BLUETOOTH connection, and the secondinformation may be a notification or data that is sent by the wearabledevice to the user equipment, information that is reported by thewearable device to the user equipment, or the like. The networkconnection device sends the second information to the user equipmentthrough the third communication connection to the user equipment. Aformat of the second information sent by the wearable device to thenetwork connection device may be the same as or different from a formatof the second information sent by the network connection device to theuser equipment.

Further, when any one of conditions occurs, the user equipment mayestablish the second BLUETOOTH connection to the wearable device, andthe user equipment sends the first information to the wearable devicethrough the second BLUETOOTH connection.

The user equipment finds a BLUETOOTH signal of the wearable device. Forexample, the user equipment finds that strength of a BLUETOOTH signal ofthe wearable device reaches a threshold.

After the third communication connection between the user equipment andthe network connection device is disconnected, the user equipment findsthe BLUETOOTH signal of the wearable device.

After the user equipment receives a second notification message sent bythe network connection device, where the second notification message isused to notify the user equipment that the first BLUETOOTH connectionbetween the network connection device and the wearable device isdisconnected, the user equipment finds the BLUETOOTH signal of thewearable device.

When the user equipment finds the BLUETOOTH signal of the wearabledevice, and when the user equipment does not perform informationinteraction with the wearable device by using the network connectiondevice in a preset time, the user equipment sends, to the networkconnection device, a request for disconnecting the first BLUETOOTHconnection.

It can be learned that in the method of this embodiment, if a secondBLUETOOTH connection between user equipment and a wearable device isdisconnected, a first BLUETOOTH connection may be established between anetwork connection device of the user equipment and the wearable device.When the user equipment finds that the second BLUETOOTH connection tothe wearable device is disconnected, the user equipment may send firstinformation to the wearable device by using the network connectiondevice. In this way, indirect communication between the user equipmentand the wearable device is implemented by using the network connectiondevice such that the user equipment and the wearable device cancommunicate with each other without being limited by a communicationrange.

It should be understood that the communications method in steps 201 and202 is the communications method that is used after devices in thecommunications system are configured, however, before step 201, the userequipment may separately configure the wearable device and the networkconnection device in following manners:

(1) The user equipment directly and separately configures, for thenetwork connection device and the wearable device, information requiredfor performing first BLUETOOTH communication between the networkconnection device and the wearable device.

The user equipment may send first configuration information to thenetwork connection device, where the first configuration informationincludes a BLUETOOTH address of the wearable device and a key forperforming BLUETOOTH communication between the network connection deviceand the wearable device, and may further include a pairing relationshipbetween the user equipment and the wearable device such that the networkconnection device stores the first configuration information. The userequipment may send third configuration information to the wearabledevice, where the third configuration information includes a BLUETOOTHaddress of the network connection device, and may further includeinformation such as a key for performing communication between thenetwork connection device and the wearable device.

Further, the user equipment may further send second configurationinformation to the network connection device, where the secondconfiguration information includes BLUETOOTH service informationsupported by the wearable device. Therefore, the network connectiondevice may establish, according to the second configuration information,a mapping relationship between the BLUETOOTH service information andservice information supported by the third communication connection, andstore the mapping relationship.

(2) The user equipment indirectly and separately configures a functionof the network connection device and a function of the wearable devicesuch that the network connection device may actively initiate aBLUETOOTH pairing procedure to the wearable device, and the wearabledevice may be passively paired with the network connection device.

The user equipment sends a mode request message to the wearable device,where the mode request message is used to request the wearable device toenable a BLUETOOTH pairing mode, that is, the wearable device is set toa state of being searchable by another BLUETOOTH device within a periodof time, and can accept a pairing request. The user equipment sends aprocedure request message to the network connection device, where theprocedure request message is used to request the network connectiondevice to enable a BLUETOOTH pairing procedure with the wearable device.

In an embodiment, the user equipment sends the procedure request messageonly to the network connection device, where the procedure requestmessage is used to request the network connection device to enable aBLUETOOTH pairing procedure with the wearable device, instead of sendingthe mode request message to the wearable device to enable the BLUETOOTHpairing mode. The wearable device is preset to enable a pairing mode,that is, is preset to a state of being searchable by another BLUETOOTHdevice, and can accept a pairing request. In a pairing process, thewearable device may prompt a user whether to accept pairing with thenetwork connection device. After the user determines to accept pairingwith the network connection device, the wearable device accepts thepairing with the network connection device.

(3) The user equipment indirectly and separately configures a functionof the network connection device and a function of the wearable devicesuch that the wearable device may actively initiate a BLUETOOTH pairingprocedure to the network connection device, and the network connectiondevice may be passively paired with the wearable device.

The user equipment sends the mode request message to the networkconnection device, where the mode request message is used to request thenetwork connection device to enable the BLUETOOTH pairing mode, that is,the network connection device is set to the state of being searchable byanother BLUETOOTH device within a period of time, and can accept thepairing request. The user equipment sends the procedure request messageto the wearable device, where the procedure request message is used torequest the wearable device to enable the BLUETOOTH pairing procedurewith the network connection device.

The following describes a communications method of a wearable deviceprovided in the present disclosure is described by using an applicationembodiment. In the communications system of this embodiment shown inFIG. 1A, user equipment communicates with a network connection device byusing the UPnP protocol, the network connection device communicates withthe wearable device by using the BLUETOOTH protocol, and the userequipment communicates with the wearable device by using the BLUETOOTHprotocol. In this embodiment:

1. The user equipment configures the network connection device and thewearable device. A flowchart is shown in FIG. 5A, including thefollowing.

(1) The user equipment obtains a BLUETOOTH address BD_ADDR1 of thenetwork connection device and a BLUETOOTH address BD_ADDR2 of thewearable device, and generates a key Link_Key for performing BLUETOOTHcommunication between the network connection device and the wearabledevice.

In an embodiment, the user equipment may obtain, by using a web clientinstalled on the user equipment, the BLUETOOTH address BD_ADDR1 of thenetwork connection device from a web server, that is, the networkconnection device, or the user equipment serves as a control point, andreads the BLUETOOTH address BD_ADDR1 from the network connection device(the network connection device is used as a UPnP device) by using theUPnP protocol.

(2) The user equipment sends information such as the BLUETOOTH addressBD_ADDR1 of the network connection device and the key Link_Key to thewearable device for storage.

(3) The user equipment sends information such as the BLUETOOTH addressBD_ADDR2 of the wearable device and the key Link_Key to the networkconnection device for storage. Optionally, the user equipment sendsinformation such as a pairing relationship between the user equipmentand the wearable device to the network connection device for storage.

If the network connection device receives no pairing relationshipbetween the user equipment and the wearable device, the pairingrelationship between the user equipment and the wearable device beestablished.

(4) The user equipment obtains BLUETOOTH service information supportedby the wearable device from the wearable device, and sends the BLUETOOTHservice information to the network connection device.

Therefore, the network connection device may establish a mappingrelationship between the BLUETOOTH service information supported by thewearable device and service information of the UPnP protocol, and mapthe wearable device to a UPnP root device of the network connectiondevice. For example, the network connection device establishes a mappingrelationship between configuration management service (CMS) informationof the UPnP protocol and heart rate service information supported by thewearable device

A. Map the BLUETOOTH address of the wearable device to a universallyunique identifier (UUID) of the UPnP root device.

B. Establish a mapping relationship between a function (action) and anevent in a CMS service and the GATT and a characteristic command in aBLUETOOTH protocol, for example

A value setting function (SetValues) in the CMS service corresponds to awrite request (Write Request) in the BLUETOOTH protocol, a valueobtaining function (GetValues) in the CMS service corresponds to a readrequest in the BLUETOOTH protocol, and a report event in the CMS servicecorresponds to a value handling notification in the BLUETOOTH protocol,and the like.

C. Establish a mapping relationship between a characteristic in theBLUETOOTH protocol and a parameter in a data model of a CMS service, forexample

Characteristics in the BLUETOOTH protocol, including a heart ratemeasurement, a heart rate measurement client characteristicconfiguration descriptor, a body sensor location, a heart rate controlpoint, and the like, are considered as parameters in the data model ofthe CMS service.

D. Establish a mapping relationship between a characteristic having anotify attribute in the BLUETOOTH protocol and status variable in theCMS service such that the wearable device may report a characteristicvalue, for example:

The heart rate measurement in the BLUETOOTH protocol is corresponding tothe status variable of the UPnP protocol.

2. The user equipment indirectly communicates with the wearable deviceby using the network connection device. A flowchart is shown in FIG. 5B,including the following.

(1) In a process of performing the BLUETOOTH communication between theuser equipment and the wearable device, if the wearable device does notreceive, within a period of time, a BLUETOOTH heartbeat packet sent bythe user equipment, it is determined that the BLUETOOTH connectionbetween the wearable device and the user equipment is disconnected. Inthis case, the wearable device continues to determine whether aBLUETOOTH paging message sent by the network connection device can bereceived. If the BLUETOOTH paging message sent by the network connectiondevice can be received, the wearable device may return a BLUETOOTHpaging response to establish a BLUETOOTH communication connectionbetween the network connection device and the wearable device.

In another specific embodiment (as shown by dashed lines in FIG. 5B), ifthe user equipment does not receive, within a period of time, aBLUETOOTH heartbeat response message sent by the wearable device, it isdetermined that the BLUETOOTH connection to the wearable device isdisconnected, and the user equipment sends the triggering command to thenetwork connection device by using the UPnP protocol to trigger thenetwork connection device to establish the BLUETOOTH communicationconnection to the wearable device.

(2) After the BLUETOOTH communication connection between the networkconnection device and the wearable device is established, anannouncement message is sent to the user equipment, where theannouncement message is used to notify the user equipment that the firstBLUETOOTH connection between the network connection device and thewearable device is established, or that the wearable device is in anonline state. For example, the announcement message is used to notifythe user equipment that a UPnP root device corresponding to the wearabledevice is in the online state, and the announcement message is SimpleService Discovery Protocol (SSDP) alive announcement message.

(3) After receiving the SSDP alive announcement message sent by thenetwork connection device, the user equipment may indirectly communicatewith the wearable device.

The user equipment sends the first information to the network connectiondevice by using the UPnP protocol, and the network connection deviceconverts the first information sent by using the UPnP protocol to thefirst information sent by using the BLUETOOTH protocol, and sends thefirst information to the wearable device. For example, the firstinformation sent by the user equipment to the wearable device isparameter value reading. The user equipment sends a GetValues ( )command of the UPnP protocol to the network connection device, and thenetwork connection device converts the GetValues ( ) command to the ReadRequest ( ) of the BLUETOOTH protocol and sends the Read Request ( ) tothe wearable device.

When the wearable device sends second information to the user equipment,the wearable device sends the second information to the networkconnection device by using the BLUETOOTH protocol, and the networkconnection device converts second information sent by using theBLUETOOTH protocol to second information sent by using the UPnPprotocol, and sends the second information to the user equipment. Forexample, the second information sent by the wearable device to the userequipment is heart rate reporting. The wearable device sends a heartrate measurement parameter value to the network connection device byusing a Handle Value Notification ( ) message of the BLUETOOTH protocol,and the network connection device converts the heart rate measurementparameter value to a notification event of the UPnP protocol and reportthe heart rate measurement parameter value to the user equipment.

(4) When the user equipment finds that strength of a BLUETOOTH signal ofthe wearable device reaches a threshold, the user equipment instructsthe network connection device to disconnect the BLUETOOTH connection tothe wearable device such that the user equipment may communicate withthe wearable device by establishing a direct communication connection.

The following describes a communications method of a wearable deviceprovided in the present disclosure by using another following specificembodiment. In the communications system of this embodiment shown inFIG. 1B, the method in this embodiment is similar to the method of theapplication embodiment corresponding to FIG. 1A. A difference is when anetwork connection device communicates with a wearable device by using abridge device, where the bridge device is connected to the networkconnection device by using an electrical power cable, and the bridgedevice mainly transmits a BLUETOOTH message sent by the networkconnection device or the wearable device.

An embodiment of the present disclosure further provides a networkconnection device, where the network connection device may be a gatewaydevice such as a Wi-Fi router. A schematic structural diagram of thenetwork connection device is shown in FIG. 6 , including a communicationestablishment unit 11 configured to determine that a second BLUETOOTHconnection between user equipment and a wearable device is disconnected,and establish a first BLUETOOTH connection to the wearable device,where, the communication establishment unit 11 is configured to, after atriggering command sent by the user equipment is received, where thetriggering command is used to instruct to establish the first BLUETOOTHconnection between the network connection device and the wearabledevice, determine that the second BLUETOOTH connection between the userequipment and the wearable device is disconnected, and establish thefirst BLUETOOTH connection to the wearable device, or after a BLUETOOTHsignal of the wearable device is found, determine that the secondBLUETOOTH connection between the user equipment and the wearable deviceis disconnected, and establish the first BLUETOOTH connection to thewearable device, or after a BLUETOOTH signal of the wearable device isfound, send an acknowledgment request message to the user equipment,where the acknowledgment request message is used to request the userequipment to determine whether the first BLUETOOTH connection beestablished between the network connection device and the wearabledevice, and after an acknowledgment message returned by the userequipment is received, determine that the second BLUETOOTH connectionbetween the user equipment and the wearable device is disconnected, andestablish the first BLUETOOTH connection to the wearable device, aninformation receiving unit 12 configured to receive first informationthat is sent by the user equipment through a third communicationconnection to the network connection device, and a sending unit 13configured to send the first information received by the informationreceiving unit 12 to the wearable device through the first BLUETOOTHconnection established by the communication establishment unit 11.

It may be understood that, when establishing the first BLUETOOTHconnection between the network connection device and the wearabledevice, the communication establishment unit 11 may establish the firstBLUETOOTH connection to the wearable device by using a bridge devicethat communicates with the network connection device, and the sendingunit 13 is configured to transmit the first information to the bridgedevice, and the bridge device sends the first information to thewearable device through the BLUETOOTH connection to the wearable device.

Further, in this embodiment, the information receiving unit 12 isfurther configured to receive second information sent by the wearabledevice through the first BLUETOOTH connection, and the sending unit 13is further configured to send the second information to the userequipment through the third communication connection.

It can be learned that in this embodiment of the present disclosure, ifa second BLUETOOTH connection between user equipment and a wearabledevice is disconnected, a first BLUETOOTH connection between a networkconnection device and the wearable device is established by using acommunication establishment unit 11, when an information receiving unit12 receives first information that is sent by the user equipment througha third communication connection to the network connection device, asending unit 13 sends the first information to the wearable devicethrough the first BLUETOOTH connection. In this way, indirectcommunication between the user equipment and the wearable device isimplemented by using the network connection device such that the userequipment and the wearable device are not limited by a communicationrange.

As shown in FIG. 7 , in a specific embodiment, in addition to thestructure shown in FIG. 6 , the network connection device includes afirst configuration unit 14, a second configuration unit 15, and adisconnecting unit 16.

The first configuration unit 14 is configured to receive firstconfiguration information sent by the user equipment, where the firstconfiguration information includes a BLUETOOTH address of the wearabledevice and a key, and store the first configuration information, wherethe first configuration information further includes information such asa pairing relationship between the user equipment and the wearabledevice, and the first configuration information is used by the sendingunit to send the first information to the wearable device through thefirst BLUETOOTH connection. In an embodiment, the first configurationunit 14 is configured to receive a procedure request message sent by theuser equipment, where the procedure request message is used to requestthe network connection device to enable a BLUETOOTH pairing procedurewith the wearable device, and enable the BLUETOOTH pairing procedurewith the wearable device according to the procedure request message. Inan embodiment, the first configuration unit 14 is configured to receivea mode request message sent by the user equipment, where the moderequest message is used to request the network connection device toenable a BLUETOOTH pairing mode, and enable the BLUETOOTH pairing modeaccording to the mode request message to accept BLUETOOTH pairing withthe wearable device. The first configuration unit 14 is furtherconfigured to establish the pairing relationship between the userequipment and the wearable device.

The second configuration unit 15 is configured to receive secondconfiguration information sent by the user equipment, where the secondconfiguration information includes BLUETOOTH service informationsupported by the wearable device, and establish a mapping relationshipbetween the BLUETOOTH service information and service informationsupported by the third communication connection, and store the mappingrelationship. The sending unit 13 is configured to convert, according tothe mapping relationship stored by the second configuration unit 15,first information sent by the user equipment through the thirdcommunication connection to first information sent through the firstBLUETOOTH connection, and send the first information to the wearabledevice through the first BLUETOOTH connection.

The disconnecting unit 16 is configured to receive a first notificationmessage sent by the user equipment, where the first notification messageis used to instruct the network connection device to disconnect thefirst BLUETOOTH connection between the network connection device thewearable device, and disconnect the first BLUETOOTH connection betweenthe network connection device the wearable device, or disconnect thethird communication connection between the network connection device andthe user equipment, and disconnect the first BLUETOOTH connectionbetween the network connection device the wearable device.

An embodiment of the present disclosure further provides user equipment.A schematic structural diagram of the user equipment is shown in FIG. 8, including a communication determining unit 20 configured to determinethat a second BLUETOOTH connection between the user equipment and awearable device is disconnected, where the communication determiningunit 20 is configured to, when it is detected that the second BLUETOOTHconnection to the wearable device is disconnected, or when the userequipment determines to establish a third communication connection tothe network connection device, disconnect the second BLUETOOTHconnection to the wearable device, and an information sending unit 21,configured to after the communication determining unit 10 determinesthat the first BLUETOOTH connection is disconnected, if a firstBLUETOOTH connection between a network connection device in a network towhich the user equipment belongs and the wearable device is established,send first information to the network connection device through a thirdcommunication connection to the network connection device such that thenetwork connection device sends the first information to the wearabledevice through the first BLUETOOTH connection.

Further, the user equipment may further include a configuration sendingunit 22, a triggering unit 23, and a communication establishment unit 24(In FIG. 8 , dashed lines are used to represent structures that arefurther included in the user equipment).

The configuration sending unit 22 is configured to send firstconfiguration information to the network connection device, where thefirst configuration information includes a BLUETOOTH address of thewearable device and a key, and may further include information such as apairing relationship between the user equipment and the wearable device,and the configuration sending unit 22 is further configured to sendthird configuration information to the wearable device, where the thirdconfiguration information includes a BLUETOOTH address of the networkconnection device and a key. In an embodiment, the configuration sendingunit 22 is configured to send a mode request message to the wearabledevice, where the mode request message is used to request the wearabledevice to enable a BLUETOOTH pairing mode, and send a procedure requestmessage to the network connection device, where the procedure requestmessage is used to request the network connection device to enable aBLUETOOTH pairing procedure with the wearable device. In an embodiment,the configuration sending unit 22 is configured to send a mode requestmessage to the network connection device, where the mode request messageis used to request the network connection device to enable a BLUETOOTHpairing mode, and send a procedure request message to the wearabledevice, where the procedure request message is used to request thewearable device to enable a BLUETOOTH pairing procedure with the networkconnection device.

Further, the configuration sending unit 22 is further configured to sendsecond configuration information to the network connection device, wherethe second configuration information includes BLUETOOTH serviceinformation supported by the wearable device. Therefore, the networkconnection device may establish, according to the second configurationinformation, a mapping relationship between the BLUETOOTH serviceinformation and service information supported by the third communicationconnection, and store the mapping relationship.

The triggering unit 23 is configured to send a triggering command to thenetwork connection device, where the triggering command is used toinstruct to establish the first BLUETOOTH connection between the networkconnection device and the wearable device, and/or the triggering unit 23is configured to receive an announcement message sent by the networkconnection device, where the announcement message is used to notify theuser equipment that the first BLUETOOTH connection between the networkconnection device and the wearable device is established.

It may be understood that, in the user equipment, after thecommunication determining unit 20 determines that the second BLUETOOTHconnection to the wearable device is disconnected, the informationsending unit 21 directly sends the first information, or after thecommunication determining unit 20 determines that the second BLUETOOTHconnection to the wearable device is disconnected, the triggering unit23 first triggers the network connection device to establish the firstBLUETOOTH connection to the wearable device, or after the triggeringunit 23 receives the announcement message, the information sending unit21 sends the first information.

The communication establishment unit 24 is configured to find aBLUETOOTH signal of the wearable device and establish a second BLUETOOTHconnection to the wearable device, or after the third communicationconnection between the user equipment and the network connection deviceis disconnected, find a BLUETOOTH signal of the wearable device andestablish a second BLUETOOTH connection to the wearable device, or aftera second notification message sent by the network connection device isreceived, where the second notification message is used to notify theuser equipment that the first BLUETOOTH connection between the networkconnection device and the wearable device is disconnected, find aBLUETOOTH signal of the wearable device and establish a second BLUETOOTHconnection to the wearable device, or when a BLUETOOTH signal of thewearable device is found, and when the user equipment does not performinformation interaction with the wearable device by using the networkconnection device in a preset time, send, to the network connectiondevice, a request for disconnecting the first BLUETOOTH connection andestablish the second BLUETOOTH connection to the wearable device. Inthis case, the information sending unit 21 is further configured to sendthe first information to the wearable device through the secondBLUETOOTH connection established by the communication establishment unit24.

It can be learned that, in this embodiment, if a second BLUETOOTHconnection between user equipment and a wearable device is disconnected,a first BLUETOOTH connection between a network connection device in anetwork to which the user equipment belongs and the wearable device isestablished. When a communication determining unit 20 in the userequipment finds that the second BLUETOOTH connection to the wearabledevice is disconnected, an information sending unit 21 may send thefirst information to the wearable device by using the network connectiondevice. In this way, indirect communication between the user equipmentand the wearable device is implemented by using the network connectiondevice such that the user equipment and the wearable device are notlimited by a communication range.

An embodiment of the present disclosure further provides another networkconnection device, where the network connection device may be a gatewaydevice such as a Wi-Fi router. A schematic structural diagram of thenetwork connection device is shown in FIG. 9 , including a processor 30connected to a bus, a memory 31, a communications unit 32, and a powersupply 33, where the communications unit 32 may include a transmitter321 and a receiver 322.

The memory 31 may be configured to store a software program and amodule. The processor 30 executes various functions or applications of anetwork connection device and implements data processing by running thesoftware program and the module that are stored in the memory 31. Thememory 31 mainly includes a program storage area and a data storagearea, where the program storage area may store an operating system, anapplication program required by at least one function, and the datastorage area may store data created according to use of the networkconnection device, and the like. In a specific implementation manner ofthe present disclosure, the memory 30 may include a volatile memory, forexample, a nonvolatile random access memory (NVRAM), a phase changerandom access memory PRAM), or a magnetoresistive random access memory(MRAM), and may further include a nonvolatile memory, for example, atleast one magnetic disk storage device, an electrically erasableprogrammable read-only memory (EEPROM), or a flash memory device such asa NOR flash memory or an NAND flash memory. The nonvolatile memorystores an operating system and an application program to be executed bythe processor 30, and the processor 30 loads, from the nonvolatilememory, a running program and data to a memory, and stores digitalcontent in a large number of storage apparatuses. The operating systemis used to control and manage a general system task, for example, memorymanagement, storage device control or power management, and variouscomponents and/or drives that facilitate communication between varioussoftware and hardware.

In this embodiment, the program storage area of the memory 31 may storea program that performs the communications method in the embodimentcorresponding to FIG. 2 or FIG. 3 .

The power supply 33 is configured to supply power to various parts ofthe network connection device to keep them running. The power supply 33may be a built-in battery, for example, a common lithium-ion battery ora nickel-hydride battery, and may also include an external power supplythat directly supplies power to the network connection device, forexample, an alternating current (AC) adapter. In some embodiments of thepresent disclosure, the power supply 33 may have a broader definition,for example, may further include a power management system, a chargingsystem, a power failure detection circuit, a power converter orinverter, a power status indicator (such as a light emitting diode), andany other components related to power generation, management, anddistribution of the electronic device.

The processor 30 is a control center of the network connection deviceand is connected to each part of the entire network connection device byusing various interfaces and lines. The processor 30 implements variousfunctions of the network connection device and/or processes data byrunning or executing a software program and/or a module that are/isstored in the memory 31 and by invoking data stored in the memory 31.The processor 30 may be constituted by an integrated circuit (IC), forexample, may be constituted by a single packaged IC, or may beconstituted by connecting multiple packaged ICs that have a samefunction or different functions. For example, the processor 30 mayinclude only a central processing unit (CPU), or may be a combination ofa CPU, a digital signal processor (DSP), and a control chip (forexample, a baseband chip) in a communications unit. In an implementationmanner of the present disclosure, the CPU may be a single computingcore, or may include multiple computing cores.

In this embodiment, the processor 30 may invoke a program stored in aprogram storage area, and performs the communications method in theembodiment corresponding to FIG. 2 or FIG. 3 . Details are not describedherein.

The communications unit 32 is configured to establish a communicationchannel such that the network connection device may connect the wearabledevice and the user equipment by using the communication channel. Thecommunications unit 32 may include communication modules (not shown inFIG. 9 ), such as a wireless local area network (wireless LAN) module, aBLUETOOTH module, and a base band module, and radio frequency (RF)circuits corresponding to these communication modules to performwireless local area network communication, BLUETOOTH communicationand/or cellular communications system communication, such as widebandcode division multiple access (W-CDMA) and/or high speed downlink packetaccess (HSDPA). These communication modules are configured to controlcommunication between all the components in the network connectiondevice, and may support direct memory access.

In different implementation manners of the present disclosure, each ofcommunication modules in the communications unit 32 generally appears ina form of an integrated circuit chip, and the communication modules maybe combined selectively instead of including all communication modulesand corresponding antenna groups. For example, the communications unit32 may include only a baseband chip, a radio frequency chip, and acorresponding antenna to provide a communication function in a cellularcommunications system. The electronic device may be connected to acellular network or the Internet through a wireless communicationconnection established by the communications unit 32, for example,wireless LAN access or WCDMA access. In some optional implementationmanners of the present disclosure, a communication module in thecommunications unit 32, for example, the baseband module, may beintegrated into a processor 30, typically, such as APQ+MDM platformsprovided by QUALCOMM.

The radio frequency circuit is configured to receive and sendinformation, or receive and send a signal during a call. Generally, theradio frequency circuit includes a well-known circuit used to performthese functions, which includes but is not limited to an antenna system,a radio frequency transceiver including the transmitter 321 and thereceiver 322, one or more amplifiers, a tuner, one or more oscillators,a digital signal processor, a codec chipset, and a memory. In addition,the radio frequency circuit may further communicate with a network andanother device by means of wireless communication. The wirelesscommunications may use any communication standard or protocol, includingbut not limited to Global System for Mobile Communications (GSM),General Packet Radio Service (GPRS), Code Division Multiple Access(CDMA), WCDMA, High Speed Uplink Packet Access (HSUPA), and Long TermEvolution (LTE).

In this embodiment, the processor 30 in the network connection devicemay invoke the program stored in the memory 31 to implement thefollowing functions.

The processor 30 is configured to determine that a second BLUETOOTHconnection between user equipment and a wearable device is disconnected,and instruct to establish a first BLUETOOTH connection between thecommunications unit 32 and the wearable device. When receiving firstinformation sent through a third communication connection between theuser equipment and the network connection device, the receiver 322 inthe communications unit 32 instructs the transmitter 321 in thecommunications unit 32 to send the first information to the wearabledevice through the established first BLUETOOTH connection. In this way,indirect communication between the user equipment and the wearabledevice is implemented by using the network connection device such thatthe user equipment and the wearable device are not limited by acommunication range.

In an embodiment, when the receiver 322 receives a triggering commandsent by the user equipment, where the triggering command is used toinstruct to establish the first BLUETOOTH connection between the networkconnection device and the wearable device, the processor 31 determinesthat the second BLUETOOTH connection between the user equipment and thewearable device is disconnected, and establishes the first BLUETOOTHconnection to the wearable device, or after the communications unit 32finds a BLUETOOTH signal of the wearable device, for example, thetransmitter 321 sends a BLUETOOTH paging message, and when the receiver322 receives a BLUETOOTH paging response sent by the wearable device,the processor 30 determines that the second BLUETOOTH connection betweenthe user equipment and the wearable device is disconnected, andinstructs to establish the first BLUETOOTH connection between thecommunications unit 32 and the wearable device, or after thecommunications unit 32 finds a BLUETOOTH signal of the wearable device,the transmitter 321 sends an acknowledgment request message to the userequipment, where the acknowledgment request message is used to requestthe user equipment to determine whether the first BLUETOOTH connectionbe established between the network connection device and the wearabledevice, and the receiver 322 receives the acknowledgment messagereturned by the user equipment, the processor 30 determines that thesecond BLUETOOTH connection between the user equipment and the wearabledevice is disconnected, and then the processor 30 instructs to establishthe first BLUETOOTH connection between the communications unit 32 andthe wearable device.

It may be understood that, when the processor 30 instructs to establishthe first BLUETOOTH connection between the communications unit 32 andthe wearable device, the first BLUETOOTH connection to the wearabledevice may be established by using a bridge device that communicateswith the network connection device. In an embodiment, the processor 30instructs the transmitter 321 to transmit the first information to thebridge device, and the bridge device sends the first information to thewearable device through the BLUETOOTH connection to the wearable device.

Further, the processor 30 is further configured to when the receiver 322receives second information that is sent by the wearable device throughthe first BLUETOOTH connection, instruct the transmitter 321 to send thesecond information to the user equipment through the third communicationconnection.

In a specific embodiment, the processor 30 is further configured to whenthe receiver 322 receives first configuration information sent by theuser equipment, where the first configuration information includes aBLUETOOTH address of the wearable device and a key, store the firstconfiguration information into the memory 31. The first configurationinformation is used by the sending unit to send the first information tothe wearable device through the first BLUETOOTH connection, where thefirst configuration information further includes information such as apairing relationship between the user equipment and the wearable device.In an embodiment, the processor 30 is configured to, when the receiver322 receives a procedure request message sent by the user equipment,where the procedure request message is used to request the networkconnection device to enable a BLUETOOTH pairing procedure with thewearable device, enable the BLUETOOTH pairing procedure with thewearable device according to the procedure request message. In anembodiment, the processor 30 is configured to, when the receiver 322receives a mode request message sent by the user equipment, where themode request message is used to request the network connection device toenable a BLUETOOTH pairing mode, enable the BLUETOOTH pairing modeaccording to the mode request message to accept BLUETOOTH pairing withthe wearable device. The processor 30 is further configured to establishthe pairing relationship between the user equipment and the wearabledevice.

Further, the processor 30 is further configured to, when the receiver322 receives second configuration information sent by the userequipment, where the second configuration information includes BLUETOOTHservice information supported by the wearable device, establish amapping relationship between the BLUETOOTH service information andservice information supported by the third communication connection, andstore the mapping relationship in the memory 31, and the processor 30 isconfigured to instruct, according to the mapping relationship, thetransmitter 321 to convert first information sent by the user equipmentthrough the third communication connection to first information sentthrough the first BLUETOOTH connection, and send the first informationto the wearable device through the first BLUETOOTH connection.

In another specific embodiment, the processor 30 is further configuredto, when the receiver 322 receives a first notification message sent bythe user equipment, where the first notification message is used toinstruct the network connection device to disconnect the first BLUETOOTHconnection between the network connection device the wearable device,disconnect the first BLUETOOTH connection between the network connectiondevice the wearable device, or disconnect the third communicationconnection between the network connection device and the user equipment,and disconnect the first BLUETOOTH connection between the networkconnection device the wearable device.

An embodiment of the present disclosure further provides another userequipment. A structure of the user equipment may be similar to thestructure of the network connection device shown in FIG. 9 , including aprocessor connected to a bus, a memory, a communications unit, and apower supply, where the communications unit may include a transmitterand a receiver.

The processor may invoke a program stored in the memory to implement thefollowing functions.

The processor is configured to determine that a second BLUETOOTHconnection between user equipment and a wearable device is disconnected,and if a first BLUETOOTH connection between a network connection devicein a network to which the user equipment belongs and the wearable deviceis established, instruct the transmitter to send first information tothe network connection device through a third communication connectionto the network connection device such that the network connection devicesends the first information to the wearable device through the firstBLUETOOTH connection. In this way, indirect communication between theuser equipment and the wearable device is implemented by using thenetwork connection device such that the user equipment and the wearabledevice are not limited by a communication range. The processor isconfigured to detect that the second BLUETOOTH connection to thewearable device is disconnected, or when the user equipment determinesto establish a third communication connection to the network connectiondevice, disconnect the second BLUETOOTH connection to the wearabledevice, and determine that the second BLUETOOTH connection to thewearable device is disconnected.

In a specific embodiment, the processor is further configured toinstruct the transmitter to send first configuration information to thenetwork connection device, where the first configuration informationincludes a BLUETOOTH address of the wearable device and a key, and mayfurther include information such as a pairing relationship between theuser equipment and the wearable device, and instruct the transmitter tosend third configuration information to the wearable device, where thethird configuration information includes a BLUETOOTH address of thenetwork connection device and a key. In an embodiment, the processor isfurther configured to instruct the transmitter to send a mode requestmessage to the wearable device, where the mode request message is usedto request the wearable device to enable a BLUETOOTH pairing mode, andsend a procedure request message to the network connection device, wherethe procedure request message is used to request the network connectiondevice to enable a BLUETOOTH pairing procedure with the wearable device.In an embodiment, the processor is further configured to instruct thetransmitter to send a mode request message to the network connectiondevice, where the mode request message is used to request the networkconnection device to enable a BLUETOOTH pairing mode, and send aprocedure request message to the wearable device, where the procedurerequest message is used to request the wearable device to enable aBLUETOOTH pairing procedure with the network connection device.

Further, the processor is further configured to instruct the transmitterto send second configuration information to the network connectiondevice, where the second configuration information includes BLUETOOTHservice information supported by the wearable device. Therefore, thenetwork connection device may establish, according to the secondconfiguration information, a mapping relationship between the BLUETOOTHservice information and service information supported by the thirdcommunication connection, and store the mapping relationship.

In another specific embodiment, the processor is further configured toinstruct the transmitter to send a triggering command to the networkconnection device, where the triggering command is used to instruct toestablish the first BLUETOOTH connection between the network connectiondevice and the wearable device, and/or the receiver is configured toreceive an announcement message sent by the network connection device,where the announcement message is used to notify the user equipment thatthe first BLUETOOTH connection between the network connection device andthe wearable device is established.

It may be understood that, after it is determined that the secondBLUETOOTH connection to the wearable device is disconnected, theprocessor may directly instruct the transmitter to send the firstinformation, or after it is determined that the second BLUETOOTHconnection to the wearable device is disconnected, instruct thetransmitter to trigger the network connection device to establish thefirst BLUETOOTH connection to the wearable device, or after the receiverreceives the announcement message, instruct the transmitter to send thefirst information.

In another embodiment, the processor further finds a BLUETOOTH signal ofthe wearable device and establishes the second BLUETOOTH connection tothe wearable device, or after the third communication connection betweenthe user equipment and the network connection device is disconnected,finds a BLUETOOTH signal of the wearable device and establishes a secondBLUETOOTH connection to the wearable device, or after a secondnotification message sent by the network connection device is received,where the second notification message is used to notify the userequipment that the first BLUETOOTH connection between the networkconnection device and the wearable device is disconnected, finds aBLUETOOTH signal of the wearable device and establishes the secondBLUETOOTH connection to the wearable device, or when a BLUETOOTH signalof the wearable device is found, and when the user equipment does notperform information interaction with the wearable device by using thenetwork connection device in a preset time, sends, to the networkconnection device, a request for disconnecting the first BLUETOOTHconnection, and establishes the second BLUETOOTH connection to thewearable device. Therefore, the processor is further configured toinstruct the transmitter to send the first information to the wearabledevice through the established second BLUETOOTH connection.

An embodiment of the present disclosure further provides acommunications system. A schematic structural diagram of thecommunications system is shown in FIG. 1A, including a networkconnection device, user equipment, and a wearable device.

A structure of the network connection device may be similar to thestructure of the network connection device in the embodimentcorresponding to FIG. 6 , FIG. 7 , or FIG. 9 , and the networkconnection device is mainly used to connect a communication between theuser equipment and the wearable device. A structure of the userequipment may be similar to the structure of the user equipment in theembodiment corresponding to FIG. 8 , and details are not describedherein.

The wearable device is configured to after a first BLUETOOTH connectionto the network connection device is established, receive firstinformation sent by the network connection device, and send secondinformation to the network connection device through the first BLUETOOTHconnection.

An embodiment of the present disclosure further provides anothercommunications system. A schematic structural diagram of thecommunications system is shown in FIG. 1B, including a networkconnection device, at least one bridge device, user equipment, and awearable device. The at least one bridge device is separately connectedto the network connection device by using an electrical power cable, andthe bridge device is configured to only forward a message of a secondcommunications protocol between the network connection device and thewearable device, and ensure a communication range between the networkconnection device and the wearable device.

A structure of the network connection device may be similar to thestructure of the network connection device in the embodimentcorresponding to FIG. 6 , FIG. 7 , or FIG. 9 , and is mainly used toconnect a communication between the user equipment and the wearabledevice. A structure of the user equipment may be similar to thestructure of the user equipment in the embodiment corresponding to FIG.8 , and details are not described herein.

The wearable device is configured to, after a first BLUETOOTH connectionis performed by using the bridge device connected to the networkconnection device, receive first information that is forwarded by thebridge device and that is sent by the network connection device throughthe first BLUETOOTH connection.

A person of ordinary skill in the art may understand that all or some ofthe steps of the methods in the embodiments may be implemented by aprogram instructing relevant hardware. The program may be stored in acomputer readable storage medium. The storage medium may include aread-only memory (ROM), a random-access memory (RAM), a magnetic disk,or an optical disc.

The communications method of a wearable device, the communicationssystem, and the related device that are provided in the embodiments ofthe present disclosure are described in detail above. The principle andimplementation of the present disclosure are described herein by usingspecific examples. The description about the embodiments is merelyprovided to help understand the method and core ideas of the presentdisclosure. In addition, a person of ordinary skill in the art can makevariations and modifications to the present disclosure in terms of thespecific implementations and application scopes according to the ideasof the present disclosure. Therefore, the content of specification shallnot be construed as a limit to the present disclosure.

1. A communication system, comprising: a wearable device; and anelectronic device configured to: establish a first communicationconnection with the wearable device; and establish a secondcommunication connection with a first device; wherein the wearabledevice is configured to establish a third communication connection withthe first device; wherein the electronic device is further configured tosend first information to the wearable device via the firstcommunication connection in a case that the first communicationconnection, the second communication connection, and the thirdcommunication connection are maintained; wherein the wearable device isfurther configured to: receive the first information via the firstcommunication connection; wherein the electronic device is furtherconfigured to send second information to the wearable device via thesecond communication connection in a case that the first communicationconnection is disconnected, and the second communication connection andthe third communication connection are maintained; wherein the wearabledevice is further configured to: receive the second information via thethird communication connection.
 2. The communication system of claim 1,wherein the electronic device is further configured to: detect aBLUETOOTH signal of the wearable device in after the first communicationconnection is disconnected; establish a BLUETOOTH connection with thewearable device; and send third information to the wearable device viathe BLUETOOTH connection; wherein the wearable device is furtherconfigured to: receive the third information via the BLUETOOTHconnection.
 3. The communication system of claim 2, wherein theelectronic device is further configured to detect the BLUETOOTH signalof the wearable device by detecting that a strength of the BLUETOOTHsignal of the wearable device is equal to or exceeds a threshold.
 4. Thecommunication system of claim 1, wherein the wearable device is furtherconfigured to send fourth information to the electronic device via theBLUETOOTH connection, and wherein the electronic device is furtherconfigured to receive the fourth information via the BLUETOOTHconnection.
 5. The communication system of claim 1, wherein theelectronic device is further configured to send configurationinformation of the first device to the wearable device via the firstcommunication connection, and wherein the wearable device is furtherconfigured to receive the configuration information; and establish thethird communication connection with the first device by: establishingthe third communication connection with the first device according tothe configuration information.
 6. The communication system of claim 1,wherein the electronic device is further configured to configure theconfiguration information of the first device.
 7. The communicationsystem of claim 5, wherein the configuration information comprises a keyfor establishing the third communication connection with the firstdevice.
 8. The communication system of claim 1, wherein the firstcommunication connection comprises a connection supporting BLUETOOTHprotocol, and wherein the second communication connection comprises aconnection supporting WI-FI protocol.
 9. The communication system ofclaim 1, wherein the electronic device is configured to detect that thefirst communication connection is disconnected in a case that theelectronic device does not detect a BLUETOOTH signal of the wearabledevice.
 10. The communication system of claim 1, wherein the firstinformation comprises an indication of a first incoming call.
 11. Anelectronic device, comprising: a memory configured to storeinstructions; and a processor coupled to the memory and configured toexecute the instructions to cause the electronic device to: establish afirst communication connection with a wearable device; establish asecond communication connection with a first device; send firstinformation to the wearable device via the first communicationconnection in a case that the first communication connection, and thesecond communication connection and a third communication connectionbetween the wearable device and the first device are maintained; andsend second information to the wearable device via the secondcommunication connection in a case that the first communicationconnection is disconnected, and the second communication connection andthe third communication connection are maintained.
 12. The electronicdevice of claim 11, wherein the processor is further configured toexecute the instructions to cause the electronic device to: detect aBLUETOOTH signal of the wearable device after the first communicationconnection is disconnected; establish a BLUETOOTH connection with thewearable device; and send third information to the wearable device viathe BLUETOOTH connection in a case that the second communicationconnection and the third communication connection are maintained. 13.The electronic device of claim 12, wherein the processor is furtherconfigured to execute the instructions to cause the electronic device todetect the BLUETOOTH signal of the wearable device by detecting that astrength of the BLUETOOTH signal of the wearable device is equal to orexceeds a threshold.
 14. The electronic device of claim 11, wherein theprocessor is further configured to send configuration information of thefirst device to the wearable device via the first communicationconnection, wherein the configuration information is used to establishthe third communication connection with the first device.
 15. Theelectronic device of claim 14, wherein the processor is furtherconfigured to execute the instructions to cause the electronic device toconfigure the configuration information of the first device.
 16. Theelectronic device of claim 11, wherein the first information comprisesan indication of a first incoming call.
 17. An wearable device,comprising: a memory configured to store instructions; and a processorcoupled to the memory and configured to execute the instructions tocause the wearable device to: establish a first communication connectionwith the electronic device, wherein the electronic device is beingconnected to a first device via a second communication connection; andestablish a third communication connection with the first device;receive first information sent by the electronic device via the firstcommunication connection in a case that the first communicationconnection, the second communication connection and the thirdcommunication connection are maintained; receive second information sentby the electronic device via the third communication connection in acase that the first communication connection is disconnected, and thesecond communication connection and the third communication connectionare maintained.
 18. The wearable device of claim 17, wherein theprocessor is further configured to execute the instructions to cause thewearable device to receive configuration information of the first devicesent by the electronic device via the first communication connection;and, establish the third communication connection with the first deviceaccording to the configuration information.
 19. The wearable device ofclaim 18, wherein the configuration information comprises a key forestablishing the third communication connection with the first device.20. The wearable device of claim 17, wherein the processor is furtherconfigured to execute the instructions to cause the wearable device tosend a third information to the electronic device via the thirdcommunication connection in a case that the first communicationconnection is disconnected, and the second communication connection andthe third communication connection are maintained.